package com.itheima.mall.api.sms;

import com.itheima.mall.pojo.sms.SmsFlashPromotionSession;
import com.itheima.mall.vo.R;
import com.itheima.mall.vo.SessionVo;

import java.util.List;

public interface FlashPromotionSessionServiceApi {
    void createSession(SmsFlashPromotionSession session);

    void deleteSession(Integer id);

    R<List<SmsFlashPromotionSession>> getList();

    void updateStatus(Integer id, Integer status);

    void updateSession(SmsFlashPromotionSession session);

    SmsFlashPromotionSession getSession(Integer id);

    List<SessionVo> selectList(Integer flashPromotionId);
}
